package edu.neusoft.springhtmldemo.service;

import edu.neusoft.springhtmldemo.domain.Welcome;
import edu.neusoft.springhtmldemo.mapper.WelcomeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WelcomeService {
    @Autowired
    private WelcomeMapper mapper;

    public List<Welcome> showAll(){
        return mapper.selectAll();
    }
}
